﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M.Warehouse.Domain
{
    /// <summary>
    /// 成品表
    /// </summary>
    public class FinishedProduct:AuditFields
    {
        /// <summary>
        /// 成品Id
        /// </summary>
        [Key]
        public int FinishedProductId { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? FinishedProductNo { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? FinishedProductName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? FinishedProductSpecification { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? FinishedProductBatch { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? FinishedProductUnit { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? FinishedProductState { get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public int? InventoryLimit { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public int? InventoryMinimum { get; set; }
        /// <summary>
        /// 报警天数
        /// </summary>
        public int? AlarmDays { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? FinishedProductImg { get; set; }
        /// <summary>
        /// 成品备注
        /// </summary>
        public string? FinishedProductRemark { get; set; }
    }
}
